'use strict';
import React,{Component} from 'react';
import { AppRegistry, StyleSheet, View, Text } from 'react-native';

import { StackNavigator } from 'react-navigation';
import NavigationView from './src/component/NavigationView';
import ReportView from './src/component/ReportView';

import LoginView from './src/component/LoginView';
import StatusCheckView from './src/component/StatusView';
import TestFunctionView from './src/component/TestFunctionView';
    import CoverTestView from './src/component/CoverTestView';
    import CoveredTestView from './src/component/CoveredTestView';
import SettingView from './src/component/SettingView';
import SignalChannelView from './src/component/SignalChannelView';
import UnderbarrelDeviceView from './src/component/UnderbarrelDeviceView';
import DataFlowView from './src/component/DataFlowView';

const navigation = StackNavigator({
    Login: { screen: LoginView },
    StatusCheck: { screen: StatusCheckView},
    TestFunction: { screen: TestFunctionView},
    CoverTest: { screen: CoverTestView},
    CoveredTest: { screen: CoveredTestView},
    Setting: { screen: SettingView},
    SignalChannel: { screen: SignalChannelView},
    UnderbarrelDevice: { screen: UnderbarrelDeviceView},
    DataFlow: { screen: DataFlowView}
}, {
    headerMode: 'none'
});

AppRegistry.registerComponent('iHGuapp', () => SettingView);